<?php

/*
 * This file is part of the Qsnh/meedu.
 *
 * (c) XiaoTeng <616896861@qq.com>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

namespace App\Observers;

use App\Models\CourseComment;

class CourseCommentObserver
{
    public function saved(CourseComment $comment)
    {
        at_user($comment->content, $comment->user, $comment, 'CourseComment');
    }
}
